<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>4.关于对象的简写形式</title>
	</head>
	<body>
		<script type="text/javascript" >

			/* let obj = {
				a:'a',
				b:'b'
			} */
			
			let a = 1
			let b = 2
			// let obj = {a:a,b:b}
			let obj = {a,b}

		</script>
	</body>
</html>